﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="select_left.aspx.cs" Inherits="AnyOffice.general.system.workflow.flow_type.select_left" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title></title>		
		<script src="/aspnet_client/core/function.js"></script>
		<script language="JavaScript">
function clickMenu(ID)
{
  targetelement=document.getElementById(ID);
  if (targetelement.style.display=="none")
  {
      targetelement.style.display='';
      if(ID=="tblDept")
         ID="tblPriv";
      else
         ID="tblDept";
      targetelement=document.getElementById(ID);
      targetelement.style.display="none";
  }
  else
      targetelement.style.display="none";
}
		</script>
	</HEAD>
	<body class="bodycolor" topmargin="1" leftmargin="0">
		<form id="Form1" method="post" runat="server">
			<table border="0" cellspacing="1" width="100%" class="small" cellpadding="3" align="center" bgcolor="#000000">
				<tr class="TableHeader" onclick="javascript:parent.user.location='select_user.aspx?id=<%=ViewState["Id"]%>';"
					style="cursor: pointer; cursor: hand;" title="全部经办人">
					<td nowrap align="center"><b>全部经办人</b></td>
				</tr>
			</table>
			<table border="0" cellspacing="1" width="100%" class="small" cellpadding="3" align="center"  bgcolor="#000000">
				<tr class="TableHeader" onclick="clickMenu('tblDept')" style="cursor: pointer; cursor: hand;" title="点击伸缩列表">
					<td nowrap align="center"><b>按部门选择</b></td>
				</tr>
			</table>
			<table border="0" cellspacing="1" width="100%" class="small" cellpadding="3" id="tblDept" bgcolor="#000000">
				<asp:Repeater id="rptDept" runat="server">
			    <ItemTemplate>
			    <tr class="TableControl">
					    <td align="center" onclick="javascript:parent.user.location='select_user.aspx?id=<%=ViewState["Id"]%>&dept_id=<%#Eval("DeptId")%>';"
						    style="cursor: pointer; cursor: hand;"><%#Eval("DeptName")%></td>
				    </tr>
			    </ItemTemplate>
			    </asp:Repeater>
			</table>
			<table border="0" cellspacing="1" width="100%" class="small" cellpadding="3" align="center"  bgcolor="#000000">
				<tr class="TableHeader" onclick="clickMenu('tblPriv')" style="cursor: pointer; cursor: hand;" title="点击伸缩列表">
					<td nowrap align="center"><b>按角色选择</b></td>
				</tr>
			</table>
			<table border="0" cellspacing="1" width="100%" class="small" cellpadding="3" id="tblPriv" style="DISPLAY:none"  bgcolor="#000000">			
			<asp:Repeater id="rptPriv" runat="server">
			<ItemTemplate>
			<tr class="TableControl">
					<td align="center" onclick="javascript:parent.user.location='select_user.aspx?id=<%=ViewState["Id"]%>&priv_id=<%#Eval("PrivId")%>';"
						style="cursor: pointer; cursor: hand;"><%#Eval("PrivName")%></td>
				</tr>
			</ItemTemplate>
			</asp:Repeater>		
			</table>			
		</form>
	</body>
</HTML>
